<?php

require __DIR__.'/vendor/autoload.php';

require_once 'bootstrap/app.php';

$config = parse_ini_file('./config.ini', true);
//将日志路径写入全局变量以供实时调用
$_SERVER['LOG_PATH'] = $config['log']['path'];

//启动服务
$svr = new \BookImportSvr($config['server']);
$svr->start();